package cn.lili.modules.payment.fallback;

import cn.lili.common.exception.ServiceException;
import cn.lili.modules.payment.client.WalletPointClient;
import cn.lili.modules.payment.entity.dto.UserPointUpdateDTO;
import org.springframework.stereotype.Component;

/**
 * @author: ftyy
 * @date: 2022-01-17 11:10
 * @description: 描述
 */
public class WalletPointFallback implements WalletPointClient {

    @Override
    public Double getUserPoint(String memberId) {
        throw new ServiceException();
    }

    @Override
    public void updateMemberPoint(UserPointUpdateDTO userPointUpdateDTO) {
        throw new ServiceException();
    }
}
